package com.momo.hotel.service.impl;

import com.momo.hotel.dao.mapping.ext.TbRoomMapperExt;
import com.momo.hotel.dto.GetHotels;
import com.momo.hotel.dto.SearchHotels;
import com.momo.hotel.service.HotelRoomService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @version 1.0.0
 * @auther Snake
 * @date 2019/7/4 12:49
 */
@Service
public class HotelRoomServiceImpl implements HotelRoomService {
    @Resource
    TbRoomMapperExt roomMapperExt;
    @Override
    public List<GetHotels> selectHotels(SearchHotels searchHotels) {
        return roomMapperExt.selectHotels(searchHotels);
    }
}
